package com.ruoyi.asset.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车位档案对象 property_parking
 * 
 * @author ruoyi
 * @date 2025-10-27
 */
public class PropertyParking extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车位ID */
    private Long parkingId;

    /** 所属楼盘 */
    @Excel(name = "所属楼盘")
    private Long buildingId;

    /** 车位编号 */
    @Excel(name = "车位编号")
    private String parkingNo;

    /** 位置：GROUND/UNDERGROUND */
    @Excel(name = "位置：GROUND/UNDERGROUND")
    private String location;

    /** 类型：OWNED/PUBLIC/TEMPORARY */
    @Excel(name = "类型：OWNED/PUBLIC/TEMPORARY")
    private String type;

    /** 关联房屋（产权车位） */
    @Excel(name = "关联房屋", readConverterExp = "产=权车位")
    private Long houseId;

    /** 状态：FREE/OCCUPIED/RENTED */
    @Excel(name = "状态：FREE/OCCUPIED/RENTED")
    private String status;

    public void setParkingId(Long parkingId) 
    {
        this.parkingId = parkingId;
    }

    public Long getParkingId() 
    {
        return parkingId;
    }

    public void setBuildingId(Long buildingId) 
    {
        this.buildingId = buildingId;
    }

    public Long getBuildingId() 
    {
        return buildingId;
    }

    public void setParkingNo(String parkingNo) 
    {
        this.parkingNo = parkingNo;
    }

    public String getParkingNo() 
    {
        return parkingNo;
    }

    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setHouseId(Long houseId) 
    {
        this.houseId = houseId;
    }

    public Long getHouseId() 
    {
        return houseId;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("parkingId", getParkingId())
            .append("buildingId", getBuildingId())
            .append("parkingNo", getParkingNo())
            .append("location", getLocation())
            .append("type", getType())
            .append("houseId", getHouseId())
            .append("status", getStatus())
            .toString();
    }
}
